package com.solo.service;

import com.solo.entity.Category;

import java.util.List;

public interface CategoryService {


    /**
     * 新增用户
     * @param category
     * @return
     */
    public boolean addCategory(Category category);

    public boolean deleteCategory(Category category) ;

    public boolean updateCategory(Category Category) ;

    /**
     *
     * @return
     */
    public List<Category> selectAllCategory() ;

    public Category selectCategoryById(Long id) ;

}
